package com.kingdee.eas.custom.material;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class MaterialUnitFactory
{
    private MaterialUnitFactory()
    {
    }
    public static com.kingdee.eas.custom.material.IMaterialUnit getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.custom.material.IMaterialUnit)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("4AAFFB07") ,com.kingdee.eas.custom.material.IMaterialUnit.class);
    }
    
    public static com.kingdee.eas.custom.material.IMaterialUnit getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.custom.material.IMaterialUnit)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("4AAFFB07") ,com.kingdee.eas.custom.material.IMaterialUnit.class, objectCtx);
    }
    public static com.kingdee.eas.custom.material.IMaterialUnit getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.custom.material.IMaterialUnit)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("4AAFFB07"));
    }
    public static com.kingdee.eas.custom.material.IMaterialUnit getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.custom.material.IMaterialUnit)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("4AAFFB07"));
    }
}